package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("t_movie")
public class MovieBean implements Serializable {

    @TableId(value = "pk_movieId")
    private Integer id;

    @TableField("m_name")
    private String name;

    @TableField("m_time")
    private String time;

    @TableField("m_cinemaName")
    private String cinemaName;

    @TableField("m_rowNum")
    private Integer rowNum;

    @TableField("m_seatNum")
    private Integer seatNum;

    @TableField("m_status")
    private String status;

    public MovieBean() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getCinemaName() {
        return cinemaName;
    }

    public void setCinemaName(String cinemaName) {
        this.cinemaName = cinemaName;
    }

    public Integer getRowNum() {
        return rowNum;
    }

    public void setRowNum(Integer rowNum) {
        this.rowNum = rowNum;
    }

    public Integer getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(Integer seatNum) {
        this.seatNum = seatNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "MovieBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", cinemaName='" + cinemaName + '\'' +
                ", rowNum=" + rowNum +
                ", seatNum=" + seatNum +
                ", status='" + status + '\'' +
                '}'+"\n";
    }
}
